package com.bootdo.wx.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 秒杀
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-05-27 17:56:21
 */
public class GoodsSpikeDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//id
	private String id;
	//类型
	private Integer type;
	//时间段ID
	private String timeId;
	//商品id
	private String goodsId;
	//规格id
	private String productId;
	//原价
	private BigDecimal price;
	//团长价格
	private BigDecimal priceC;
	//核心价格
	private BigDecimal priceZ;
	//合伙人价格
	private BigDecimal priceG;
	//用户价格
	private BigDecimal priceH;
	//初级分销返利
	private BigDecimal rebateOne;
	//高级分销返利
	private BigDecimal rebateTwo;
	//库存
	private Integer stock;
	//删除标记(0-正常,1-删除)
	private Integer delFlag;
	//秒杀销量
	private Integer numSale;
	//创建时间
	private Date createAt;
	//开始时间
	private Date startAt;
	//结束时间
	private Date endAt;





	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * 设置：id
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：商品id
	 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}
	/**
	 * 获取：商品id
	 */
	public String getGoodsId() {
		return goodsId;
	}
	/**
	 * 设置：规格id
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}
	/**
	 * 获取：规格id
	 */
	public String getProductId() {
		return productId;
	}
	/**
	 * 设置：分销价
	 */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	/**
	 * 获取：分销价
	 */
	public BigDecimal getPrice() {
		return price;
	}
	/**
	 * 设置：库存
	 */
	public void setStock(Integer stock) {
		this.stock = stock;
	}
	/**
	 * 获取：库存
	 */
	public Integer getStock() {
		return stock;
	}
	/**
	 * 设置：删除标记(0-正常,1-删除)
	 */
	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	/**
	 * 获取：删除标记(0-正常,1-删除)
	 */
	public Integer getDelFlag() {
		return delFlag;
	}

	public String getTimeId() {
		return timeId;
	}

	public void setTimeId(String timeId) {
		this.timeId = timeId;
	}

	public Integer getNumSale() {
		return numSale;
	}

	public void setNumSale(Integer numSale) {
		this.numSale = numSale;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public BigDecimal getRebateOne() {
		return rebateOne;
	}

	public void setRebateOne(BigDecimal rebateOne) {
		this.rebateOne = rebateOne;
	}

	public BigDecimal getRebateTwo() {
		return rebateTwo;
	}

	public void setRebateTwo(BigDecimal rebateTwo) {
		this.rebateTwo = rebateTwo;
	}
	/**
	 * 设置：开始时间
	 */
	public void setStartAt(Date startAt) {
		this.startAt = startAt;
	}
	/**
	 * 获取：开始时间
	 */
	public Date getStartAt() {
		return startAt;
	}
	/**
	 * 设置：结束时间
	 */
	public void setEndAt(Date endAt) {
		this.endAt = endAt;
	}
	/**
	 * 获取：结束时间
	 */
	public Date getEndAt() {
		return endAt;
	}

	public BigDecimal getPriceC() {
		return priceC;
	}

	public void setPriceC(BigDecimal priceC) {
		this.priceC = priceC;
	}

	public BigDecimal getPriceZ() {
		return priceZ;
	}

	public void setPriceZ(BigDecimal priceZ) {
		this.priceZ = priceZ;
	}

	public BigDecimal getPriceG() {
		return priceG;
	}

	public void setPriceG(BigDecimal priceG) {
		this.priceG = priceG;
	}
}
